//
//  ModelQuestionList.m
//  dingdang
//
//  Created by Chen Jing on 15-7-14.
//  Copyright (c) 2015年 阮 沧晖. All rights reserved.
//

#import "ModelQuestionList.h"

@implementation ModelQuestionListElement_body

+(JSONKeyMapper *)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{
                                                      @"id" : @"info_id",
                                                      @"type" : @"info_type",
                                                      @"text" : @"info_text",
                                                      }];
}

@end

@implementation ModelQuestionListElement_optionsOrExplanation_content

+(JSONKeyMapper *)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{
                                                      @"title" : @"info_title",
                                                      @"type" : @"info_type",
                                                      @"url" : @"info_url",
                                                      @"labels" : @"info_labels",
                                                      @"id" : @"info_id",
                                                      @"description" : @"info_description",
                                                      @"text" : @"info_text",
                                                      }];
}

@end






@implementation ModelQuestionListElementOptions

+(JSONKeyMapper *)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{
                                                      @"label" : @"info_label",
                                                      @"id" : @"info_id",
                                                      @"currect" : @"info_currect",
                                                      @"content" : @"info_content",
                                                      }];
}

@end


@implementation ModelQuestionListElement

+(JSONKeyMapper *)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{
                                                      @"answer" : @"info_answer",
                                                      @"arrangment" : @"info_arrangment",
                                                      @"body" : @"info_body",
                                                      @"course" : @"info_course",
                                                      @"courseName" : @"info_courseName",
                                                      @"createTime" : @"info_createTime",
                                                      @"emptyOption" : @"info_emptyOption",
                                                      @"id" : @"info_id",
                                                      @"orderIndex" : @"info_orderIndex",
                                                      @"score" : @"info_score",
                                                      @"seconds" : @"info_seconds",
                                                      @"subjective" : @"info_subjective",
                                                      @"tip" : @"info_tip",
                                                      @"type" : @"info_type",
                                                      @"typeName" : @"info_typeName",
                                                      @"uid" : @"info_uid",
                                                      @"options" : @"info_options",
                                                      @"explanation" : @"info_explanation",
                                                      }];
}

@end


@implementation ModelQuestionList
+(JSONKeyMapper *)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{
                                                      @"total" : @"info_total",
                                                      @"list" : @"info_list",
                                                      }];
}
@end
